<div class="page">
		<span><?php echo $current_page?>页/总共<?php echo $page_count?>页</span>
		<strong url='<?=$base_url?>page=1'>1</strong>
		<? for($i=(($page_count-2)<1?1:($page_count-2));$i<=(($current_page+2)>$page_count?$page_count:($current_page+2));$i++){?>
		<strong url='<?=$base_url?>page=<?php echo $i?>'><?php echo $i;?></strong>
		<? }?>
		<strong url='<?=$base_url?>page=<?=$page_count?>'><?=$page_count?></strong>
</div> 

<script>
$(document).ready(function(){
	$('.page strong').css('cursor','pointer'); 
	$('.page strong').click(function(){
		form = (function(ob)
		{
			// alert(ob.parent().attr('tagName')); 
			if(ob.parent().attr('tagName').toUpperCase()=='FORM' || 
			   !ob.parent())
			{
				return ob.parent();
			}
			else
			{
				return arguments.callee(ob.parent());  
			}
		})($(this));
		
		url = $(this).attr('url');
		form.attr('action',url);
		form.submit(); 
	});
});
</script>